import {mapState} from 'vuex'
import GoodsPopCard from '../GoodsPopCart'
export default {
  name: 'GoodsCard',
  props: {
    data: Object,
  },
  data(){
    return {
      visible: false,
    }
  },
  components: {GoodsPopCard},
  mounted() {
  },
  methods: {
    clickCart(){
      this.visible = true;
    },
    closeCart(){
      this.visible = false;
    }
  }
}
